package com.suyi.springcloud.dao;


import com.suyi.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

// 注解需要添加
@Mapper
public interface DeptDao {

    public boolean addDept (Dept dept);

    public Dept findById (Long id);

    public List<Dept> findAll ();

}
